
<div class="admin-sidebar am-offcanvas" id="admin-offcanvas">
  <div class="am-offcanvas-bar admin-offcanvas-bar">
    <ul class="am-list admin-sidebar-list">
      <li><a href="{:U('User/Index/index')}"><span class="am-icon-home"></span> 用户中心</a></li>
      <li class="admin-parent"> <a class="am-cf" data-am-collapse="{target:'#collapse-nav'}"><span class="am-icon-file"></span> 资料设置 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
        <ul class="am-list am-collapse admin-sidebar-sub <if condition="in_array(CONTROLLER_NAME,array('Userinfo'))">
          am-in
          </if>
          " id="collapse-nav">
          <li><a href="{:U('User/Userinfo/index')}" class="am-cf"><span class="am-icon-user"></span> 基本资料<span class="am-icon-star am-fr am-margin-right admin-icon-yellow"></span></a></li>
          <li><a href="{:U('User/Userinfo/password')}"><span class="am-icon-puzzle-piece"></span> 修改密码</a></li>
          <li><a href="{:U('User/Userinfo/avatar')}"><span class="am-icon-th"></span> 头像修改</a></li>
        </ul>
      </li>
    </ul>
    <div class="am-panel am-panel-default admin-sidebar-panel">
      <div class="am-panel-bd">
        <p><span class="am-icon-bookmark"></span> 公告</p>
        <p>时光静好，与君语；细水流年，与君同。—— ThinkGms</p>
      </div>
    </div>
  </div>
</div>
